home *** CD-ROM | disk | FTP | other *** search
/ The Best of Windows 95 Shareware / The Best of Windows 95 Shareware (Wayzata Technology)(1996).ISO / pc / txtutils / winedt95 / erase.bat < prev    next >
DOS Batch File  |  1995-08-02  |  433b  |  22 lines

  1. @ECHO OFF
  2. rem The user can easily modify this file
  3. if "%1"=="" goto ERASE
  4. cd %1
  5. if "%2"=="" goto NOFILE
  6. echo Current WINEDT working file set to %1\%2%3
  7. goto ERASE
  8. :NOFILE
  9. echo Current WINEDT working directory set to %1
  10. :ERASE
  11. echo Deleting working files: BAK,TMP
  12. if not exist *.BAK goto noBAK
  13. del *.BAK
  14. echo BAK files deleted.
  15. :noBAK
  16. if not exist *.TMP goto noTMP
  17. del *.TMP
  18. echo TMP files deleted.
  19. :noTMP
  20. pause
  21.  
  22.